<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="f" uri="http://java.sun.com/jstl/functions" %>

<div class="row-fluid">
	<div class="span-4 offset2">
		<ul class="nav nav-pills">
			<c:forEach items="${calendarPanel.years}" var="yearPanel">
				<c:if test="${yearPanel == year}">
				  	<li class="active"><a href="${url}${calendarPanel.link}/${calendarPanel.id}${yearPanel}/${calendarPanel.currentMonth}/">${yearPanel}</a></li>
				</c:if>
				<c:if test="${yearPanel != year}">
				  	<li><a href="${url}${calendarPanel.link}/${calendarPanel.id}${yearPanel}/${calendarPanel.currentMonth}/">${yearPanel}</a></li>
				</c:if>
			</c:forEach>
		</ul>
	</div>
	
	<div class="span-6 offset1">
		<ul class="nav nav-pills">
			<c:forEach items="${f:months()}" var="monthPanel">
				<c:if test="${monthPanel.id == month}">
				  	<li class="active"><a href="${url}${calendarPanel.link}/${calendarPanel.id}${calendarPanel.currentYear}/${monthPanel.id}/">${monthPanel.name}</a></li>
				</c:if>
				<c:if test="${monthPanel.id!= month}">
				  	<li><a href="${url}${calendarPanel.link}/${calendarPanel.id}${calendarPanel.currentYear}/${monthPanel.id}/">${monthPanel.name}</a></li>
				</c:if>
			</c:forEach>
		</ul>
	</div>
</div>
    